﻿using System;
using System.Collections;
using System.Xml;
using Assist;

namespace YJKArch.DictModule
{
	public class StringEntry : IComparer
	{
		public StringEntry(string name, string text, XmlNode node)
		{
			this.Name = name;
			this.Text = text;
			this.XNode = node;
		}

		public string GetThumbnail()
		{
			return Assist.StringUtil.GetLettersOfChinese(this.Name);
		}

		public override string ToString()
		{
			return this.Name;
		}

		public int Compare(object x, object y)
		{
			return 0;
		}

		public string Name;

		public string Text;

		public XmlNode XNode;
	}
}
